<?php

/*
 * author: wiloke-pirates
 * author uri: wiloke.com
 * date: 04/24/2014
 * time: 03 AM
 */

if ( !function_exists('add_theme_support') )
{
    include(ABSPATH . '/wp-includes/theme.php');
}

$aSupports = array('automatic-feed-links', 'posts-thumbnail');

//add_action('after_setup_theme', 'qva_setup');

function qva_setup()
{
    foreach ($aSupports as $suportName)
    {
        add_theme_support($suportName);
    }

    set_post_thumbnail_size(460, 229);

    if ( function_exists('add_image_size') )
    {
    	add_image_size( 'qva_ourwork', array(460, 229),true );
    }

    load_theme_textdomain('wiloke_themeelite', STYLE_DOCUMENT_ROOT . '/languages/');
}